package com.ld.caodan.entity;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * 
 * 
 * @author 刘笛 2011-11-1 上午10:12:55
 */
public class Test {

    public static void main(String[] args) throws NumberFormatException, IOException {
//	System.out.println(CaoDanTypeEnum.valueOf("首页").getCaoDanArtile(1).getListBean());
	BufferedReader inputStream = new BufferedReader(new InputStreamReader(System.in));
	while(true){
	    String pageNum = "0";
	    if((pageNum=inputStream.readLine())!=null){
		System.out.println(CaoDanTypeEnum.valueOf(CaoDanTypeEnum.健康.name()).getCaoDanArtile(Integer.parseInt(pageNum)).getListBean().toString().replace("[", "").replace("]", "").replace(", ", "\n"));
	    }
	}
//	System.out.println("------>"+CaoDanTypeEnum.valueOf("健康").getCaoDanArtile(10).getListBean());
    }

}
